package ZUOYE2;
public class Person2 extends ATM_YH {

    public Person2(){
        super("小明","女",200101012,123456,8000);
    }
    public void show(){
        System.out.println("姓名："+getName()+"\n性别："+getSex()+"\n账号:"+getZhanghao()+"\n存款："+getMoney());
    }
}
